import { post } from '@/request/http'

//新增评分
export const insertAscore = (data) =>
  post(
    '/FTKJWLHYPT/assessment/insertscore',
    {
      Data: {
        Parameters: {
          FTKJWLHYPT: {
            score : data.score
          }
        },
      }
    }
  )
//列表
export const insertScoreListA = (data) =>
  post(
    '/FTKJWLHYPT/enter/getallrule',
    {
      Data: {
        Parameters: {
          FTKJWLHYPT: {
            ruleType:'A'
            }
        },
        Orderbys: {},
          PageIndex: {
              FTKJWLHYPT: ''
          },
          PageSize: {
              FTKJWLHYPT: ''
          }
      }
    }
)
//新增
export const insertScoreAddA = (data) =>
post(
  '/FTKJWLHYPT/enter/insertrule',
  {
    Data:{
      Parameters: {
        FTKJWLHYPT: {
          ruleProject:data.ruleProject,  
          ruleStandard:data.ruleStandard,
          ruleMaxscore:data.ruleMaxscore,
          ruleType:'A'
        },
        Orderbys: {},
        PageIndex: {
          FTKJWLHYPT: ''
        },
        PageSize: {
          FTKJWLHYPT: ''
        }
      }
    }
  }
)